<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="bean.Donate"%>
<%@page import="bean.Funding_information"%>

<html>
	<head>
		<title>捐赠统计</title>
		<link rel="shortcut icon" href="images/titleico.ico" />
		<link href="css/myA.css" type="text/css" rel="stylesheet">
		<link href="css/myCss.css" type="text/css" rel="stylesheet">
	</head>
	<body>

		<%
			ArrayList<Donate> donate_list = (ArrayList<Donate>) session
					.getAttribute("donate_list");
			ArrayList<Funding_information> funding_information_list = (ArrayList<Funding_information>) session
					.getAttribute("funding_information_list");
			if (donate_list == null) {
				response.sendRedirect("donate?page=thanks.jsp");
			} else if (funding_information_list == null) {
				response.sendRedirect("funding_information?page=thanks.jsp");
			}
		%>
		<jsp:include page="top.jsp"></jsp:include>
		<table cellpadding="0" cellspacing="0" width="960" align="center">
			<tr>
				<td valign="top">
					<jsp:include page="leftshow.jsp"></jsp:include>
				</td>
				<td valign="top">
					<jsp:include page="thanksitem.jsp"></jsp:include>
				</td>
			</tr>

		</table>
		<jsp:include page="bottom.jsp"></jsp:include>
		
		<%
			if(donate_list != null && funding_information_list != null) {
				session.removeAttribute("donate_list");
				session.removeAttribute("photo_news_list");
				session.removeAttribute("funding_information_list");
			}
		%>
	</body>
</html>